
<!-----------隐藏导航开始---------------> 
<nav id="menu-left">
    <div class="mmenu-search">
        <form   id="" name="" method="get" action="index.php">  
            <input type="hidden" name="app" value="store" />
            <input type="hidden" name="act" value="search" />
            <input type="hidden" name="id" value="{$store.store_id}" />
            <input type="text" name="keyword" autocomplete="off" placeholder="搜搜看吧" class="search_text">
            <div class="search_btn_img"><img src="{res file=images/search_btn.png}" style="width:30px;"></div>
            <input type="submit" value="" class="search_btn">
        </form>
    </div>
    <ul>
        <!--{if $store.radio_new eq '1'}-->
        <li>
            <a href="index.php?app=store&act=search&id={$store.store_id}&order=add_time"><span>最新商品</span></a>
        </li>
        <!--{/if}-->
        <!--{if $store.radio_recommend eq '1'}-->
        <li>
            <a href="index.php?app=store&act=search&id={$store.store_id}&recommended=1"><span>推荐商品</span></a>
        </li>
        <!--{/if}-->
        <!--{if $store.radio_hot eq '1'}-->   
        <li>
            <a href="index.php?app=store&act=search&id={$store.store_id}&order=views"><span>热门商品</span></a>
        </li>
        <!--{/if}-->
        <!--{foreach from=$store.store_gcates item=gcategory}-->
        <li>
            <!--{if $gcategory.children}-->
            <a href="#"><span>{$gcategory.value|escape}</span></a> 
            <ul>
                <!--{foreach from=$gcategory.children item=child_gcategory}-->
                <li><a href="{url app=store&id=$store.store_id&act=search&cate_id=$child_gcategory.id}">{$child_gcategory.value|escape}</a></li>
                <!--{/foreach}-->
            </ul>
            <!--{else}-->
            <a href="{url app=store&id=$store.store_id&act=search&cate_id=$gcategory.id}"><span>{$gcategory.value|escape}</span></a>
            <!--{/if}-->
        </li>
        <!--{/foreach}-->


        <li>
            <a href="javascript:;" class="code"><img src="{res file=images/code.png}"/>店铺二维码</a>
            <ul>
                <li><a href="javascript:;" >店铺ID：{$store.store_name|escape}</a></li>
                <li><a href="javascript:;" >信用度：<!--{if $store.credit_value ge 0}--><img src="{$store.credit_image}" alt="" /><!--{/if}--></a></li>
                <li><a href="javascript:;" >商品数量：{$store.goods_count}</a></li>
                <li><a href="javascript:;" class="codes" ><img src="<!--{if $store.store_code}-->{$store.store_code}<!--{else}-->{res file=images/code.jpg}<!--{/if}-->"></a></li>
            </ul>
        </li>
        <li><a href="javascript:collect_store({$store.store_id});" class="fav"><img src="{res file=images/favorite.png}"/>收藏本店</a></li>
    </ul>
</nav>
<!--------显示收藏信息------------->
<div class="fav_msg">
    <img src="{res file=images/favorite.png}" />
    <span id="collect">收藏成功！</span>
</div>
<!-----------隐藏导航结束--------------->

<!------------底部------------------------->
<div class="footer">
    <p>
        <a href="{url app=store&id=$store.store_id}">商铺首页</a>|<a href="<!--{if $visitor.user_id}-->{url app=buyer_order}<!--{else}-->{url app=member&act=login&ret_url=$ret_url}<!--{/if}-->">会员中心</a>|<a href="{url app=store&act=about&id=$store.store_id}">关于我们</a>
    </p>
    <a href="#" class="top">top</a>
    <p>{if $store.functions.copyright}{$store.copyright|escape}{ else} Copyright &copy;2013 {$site_url}{/if}</p>
</div> 
<script>
//返回顶部	
    $(function() {
        $('.top').click(function() {
            $('html,body').animate({scrollTop: '0px'}, 800);
        });
    })

</script>

<!--{if $kmenus.status==0 or $kmenus.status==''}-->
<link type="text/css" rel="stylesheet" href="{res file=css/kmenus.css}">
<div class="flo_btn_<!--{if $kmenus.stypeinfo==''}-->1<!--{else}-->{$kmenus.stypeinfo}<!--{/if}-->">
    <ul>
        <!--{foreach from=$kmenusinfo item=info}-->
        <li>
            <a style="background-color:#{$info.color};" href="<!--{if $info.title=='导航'}-->http://map.baidu.com/?newmap=1&ie=utf-8&s=s%26wd%3D{$info.loadurl}<!--{else}-->{$info.loadurl}<!--{/if}-->"><span style="background:url('{$info.imgurl}') scroll no-repeat center center transparent;background-size:60%; bottom:0; left:0;"></span></a>
        </li>
        <!--{/foreach}-->
    </ul>
</div>
<!--{/if}-->